<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>贷款申请</title>
    <style>
        body {
            font-family: "Arial", sans-serif;
            background-color: #f2f9ff;
            color: #333;
            text-align: center;
            padding-top: 50px;
        }

        .container {
            background-color: #ffffff;
            border: 1px solid #cce1f4;
            border-radius: 10px;
            padding: 30px 50px;
            display: inline-block;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            text-align: left;
            width: 600px;
        }

        h2 {
            color: #2a7ae2;
            text-align: center;
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-top: 15px;
            font-weight: bold;
        }

        input[type="text"] {
            width: 100%;
            padding: 8px;
            margin-top: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }

        input[type="submit"] {
            margin-top: 20px;
            width: 100%;
            padding: 10px;
            background-color: #2a7ae2;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        input[type="submit"]:hover {
            background-color: #1c5eb8;
        }
    </style>
</head>
<body>
<div class="container">
    <h2>挂失申请</h2>

    <!-- ✅ 正确表单开始 -->
    <form action="/admin/apply" method="post">
        <label for="user">用户姓名：</label>
        <input type="text" id="user" name="user" required>

        <label for="idnumber">身份证号：</label>
        <input type="text" id="idnumber" name="idnumber" placeholder="请输入18位身份证号" required>

        <label for="card">银行卡号：</label>
        <input type="text" id="card" name="card" placeholder="请输入19位卡号" required>

        <label for="phone">手机号：</label>
        <input type="text" id="phone" name="phone" placeholder="请输入11位手机号" required>

        <label for="home">家庭住址：</label>
        <input type="text" id="home" name="home" required>

        <label for="reason">挂失原因：</label>
        <input type="text" id="reason" name="reason" placeholder="注：丢失或其他具体原因" required>

        <label for="time">挂失时间：</label>
        <input type="text" id="time" name="time" placeholder="格式：年-月-日，例如：2025-07-07" required>

        <input type="submit" value="提交挂失">
        <a href="UserHome.html">退出</a>
    </form>
    <!-- ✅ 表单结束 -->


</div>

</body>
</html>